package ltd.hxya.novel.user.feign;

import io.swagger.annotations.ApiParam;
import ltd.hxya.novel.common.bean.Result;
import ltd.hxya.novel.common.to.book.BookTo;
import ltd.hxya.novel.common.vo.BookIndexVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("novel-book")
public interface BookFeignService {

    @PostMapping("/book/bookListByBatchId")
    public Result<List<BookTo>> bookListBatchId(@RequestBody List<String> batchId);

}
